﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using Supersense.db;

/// <summary>
/// Category 的摘要说明
/// </summary>
public class Category
{
    public Database db;

	public Category()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
        this.db = new Database();
	}

    public DataTable getAllCategory(){
        String sql = "select * from ss_category";
        DataTable dt = this.db.executedt(sql);
        return dt;
    }
}